package com.stone.business.workcard.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/**
 * 人员组织分工  （班组作业控制卡（二种票）的副表）
 * @author Administrator
 *
 */
@Entity
@Table(name="TAB_RYZZFG")
public class Ryzzfg {
	private long id_sno = Long.parseLong("0");
	private long p_idsno=Long.parseLong("0");//主表id
	private String oc_zynr;					 //作业内容
	private String oc_zyry;					 //作业人员
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_TAB_RYZZFG")
	@SequenceGenerator(name="SEQ_TAB_RYZZFG",allocationSize=1, sequenceName="SEQ_TAB_RYZZFG")
	public long getId_sno() {
		return id_sno;
	}
	public void setId_sno(long idSno) {
		id_sno = idSno;
	}
	public long getP_idsno() {
		return p_idsno;
	}
	public void setP_idsno(long pIdsno) {
		p_idsno = pIdsno;
	}
	public String getOc_zynr() {
		return oc_zynr;
	}
	public void setOc_zynr(String ocZynr) {
		oc_zynr = ocZynr;
	}
	public String getOc_zyry() {
		return oc_zyry;
	}
	public void setOc_zyry(String ocZyry) {
		oc_zyry = ocZyry;
	}

	

}
